package cn.ffcs.uec.corp.manager.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;

import cn.ffcs.uac.staff.model.TmpSkHis;
import cn.ffcs.uec.corp.dao.UecPsnDao;
import cn.ffcs.uec.corp.manager.UecPsnManager;
import cn.ffcs.uec.corp.model.UecPsnCorp;
import cn.ffcs.uom.common.vo.PageInfo;

@Service("uecPsnManager")
@Scope("prototype")
public class UecPsnManagerImpl implements UecPsnManager {

	@Resource
	private UecPsnDao uecPsnDao;

	@Override
	public PageInfo queryPageInfoByUecPsnCorp(UecPsnCorp uecPsnCorp, int current, int pageSize) {
		return uecPsnDao.queryPageInfoByUecPsnCorp(uecPsnCorp, current, pageSize);
	}

	@Override
	public List<TmpSkHis> queryKeyIDList() {
		return uecPsnDao.queryKeyIDList();
	}

	@Override
	public List<TmpSkHis> queryTmpSkHisList(TmpSkHis tmpSkHis) {
		return uecPsnDao.queryTmpSkHisList(tmpSkHis);
	}

	@Override
	public int updateTmpSkHis(String keyId,String message) {
		// TODO Auto-generated method stub
		return uecPsnDao.updateTmpSkHis(keyId, message);
	}

}
